package com.zim.access.infrastructurre.etcd;

/**
 * Etcd客户端
 */
public interface EtcdClientAdvanced {

    /**
     * 适应本系统的租约客户端
     * @return
     */
    LeaseClient leaseClient();

    interface LeaseClient {

        /**
         * 无限自动续约
         */
        void keepAlive(String key, String value);
    }
}
